package com.itcast.mallapplet.service;

import com.itcast.applet.dto.DityPageRequest;
import com.itcast.applet.entity.Commodity;
import com.itcast.result.PageResult;

public interface CommodityService {

    //根据分类id查询商品
    PageResult dityQuerylist(DityPageRequest dityPageRequest);

    //根据id查询单个商品
    Commodity dityQuery(Long id);
}
